IsCompleted Property

Task Parallel System.Threading

Gets whether this BlockingCollection<(Of <(T>)>) has been marked as complete for adding and is empty.

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property IsCompleted As Boolean
C#
public bool IsCompleted { get; }

Field Value

Whether this collection has been marked as complete for adding and is empty.

Exceptions

ExceptionCondition
System..::.ObjectDisposedExceptionThe BlockingCollection<(Of <(T>)>) has been disposed.

See Also